function y = computeDamageSlope(element,kappa)
if strcmp(element.DamageLaw,'exponential')
    ef = element.ef;
    d = computeDamageVariable(element,kappa);
    y = (1-d)*(1/kappa + 1/ef);
else
    y = 0;
end
end
